
            <h1 align="center">管理店铺信息</h1>
          </div>
          <div class="panel panel-default">
          
          <!-- Default panel contents -->
          <div class="panel-heading">历史记录</div>

          <!-- Table -->
          <table class="table">
            <thead>
              <tr>
                <th>店铺ID</th>
                <th>店铺名称</th>
                <th>店铺描述</th>
                <th>店铺图片</th>
                <th>邮箱地址</th>
                <th>店铺状态</th>
              </tr>
            </thead>
            <tbody>
              <?php foreach ($storelist as $question_item): ?>
                <tr>
                  <td><?php echo $question_item['store_id'] ;?>
                  <a href='<?php echo site_url("admin/deletestore?store_id=") . $question_item['store_id']; ?>'>
                    隐藏
                  </a>
                  <a href='<?php echo site_url("admin/backstore?store_id=") . $question_item['store_id']; ?>'>
                    恢复
                  </a>
                  <a href='<?php echo site_url("admin/closestore?store_id=") . $question_item['store_id']; ?>'>
                    打烊
                  </a>
                  <a href='<?php echo site_url("admin/busystore?store_id=") . $question_item['store_id']; ?>'>
                    忙碌
                  </a>
                  <a href='<?php echo site_url("admin/updatestore?store_id=") . $question_item['store_id']; ?>'>
                    修改
                  </a>
                  <a href='<?php echo site_url("admin/itemlist?store_id=") . $question_item['store_id']; ?>'>
                    管理
                  </a>
                  <a href='<?php echo site_url("admin/shopchart?store_id=") . $question_item['store_id']; ?>'>
                    图
                  </a>
                  </td>
                  <td><?php echo $question_item['store_name'] ;?></td>
                  <td><?php echo $question_item['store_note'] ;?></td>
                  <td><a href="<?php echo base_url($question_item['store_pic']) ;?>">图片</a></td>
                  <td><?php echo $question_item['store_mail'] ;?></td>
                  <td><?php 
                        $store_state = $question_item['store_state'];
                        if ($store_state == 1)
                          echo "正常";
                        else if ($store_state == 2)
                          echo "隐藏";
                        else if ($store_state == 3)
                          echo "打烊";
                        else if ($store_state == 4)
                          echo "忙碌";
                        else//其他
                        {

                        }
                      ?></td>
                </tr>
              <?php endforeach ?>
            </tbody>
          </table>
        </div>